package com.craterhill.java.ccp.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.craterhill.java.ccp.common.beans.Parent;
import com.craterhill.java.ccp.dao.ParentsDao;
import com.craterhill.java.ccp.service.ParentsService;

@Service
public class ParentsServiceImpl implements ParentsService {
	
	@Autowired
	private ParentsDao parentsDao;

	public List<Parent> getParents() {
		return parentsDao.findAll();
	}

	@Override
	public Parent getParent() {

		return null;
	}

}
